﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Vector.cs" company="Arizona State University">
//   Copyright (C) 2011-2012 Sukru Tikves and Arizona State University
//   
//   Released under Microsoft Public License (Ms-PL)
//   See http://cipsdata.codeplex.com/license for up to date license 
//   informaiton.
// </copyright>
// <summary>
//   The vector base class.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Cips.DataMining
{
    using System.Collections.Generic;

    /// <summary>
    /// The vector base class.
    /// </summary>
    public class Vector
    {
        /// <summary>
        /// The data.
        /// </summary>
        protected List<double> Data;

        /// <summary>
        /// Initializes a new instance of the <see cref="Vector"/> class.
        /// </summary>
        public Vector()
        {
            Data = new List<double>();
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="Vector"/> class.
        /// </summary>
        /// <param name="data">
        /// The data.
        /// </param>
        public Vector(IEnumerable<double> data)
        {
            this.Data = new List<double>(data);
        }
    }
}
